from .base import *

__all__ = ['ColumnItem']


# 版块/专栏
class ColumnItem(BaseItem):
    item_type = 'column'                            # 类型
    name = scrapy.Field()                           # 名称
    description = scrapy.Field()                    # 描述
    followsNum = scrapy.Field()                     # 关注数
    parentId = scrapy.Field()                       # 父uuid

    def __init__(self):
        super().__init__()
        self['type'] = 'column'
